package cn.ldf.keepaccounts.entity.vo;

import cn.ldf.keepaccounts.enums.RoomsStatusEnum;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ldf
 * @code May there be no bugs in the world!
 */
@Data
public class DissolutionHistoryVO {
    /**
     * 房间id
     */
    private String id;
    /**
     * 房间号
     */
    private String roomId;
    /**
     * 房主openId
     */
    private String ownerOpenId;
    /**
     * 房间创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 房间状态
     */
    private RoomsStatusEnum status;
    /**
     * 成员openId
     */
    private String openId;
    /**
     * 成员昵称
     */
    private String nickname;
    /**
     * 成员积分
     */
    private Double score;

}
